package io.datajek.spring.basics.movierecommendersystem.lesson3;

/**
 * Created with IntelliJ IDEA.
 *
 * @author : 浩东
 * @version : 1.2
 * @Project : movie-recommender-system
 * @Package : io.datajek.spring.basics.movierecommendersystem.lesson2
 * @ClassName : CollaborativeFilter.java
 * @createTime : 2021/9/17 17:19
 * @Description :
 *  该方法基于协作过滤器的逻辑，为 "Finding Dory"推荐了一个电影列表
 */
public class CollaborativeFilter implements Filter {

    public String[] getRecommendations(String movie){

        //协作式过滤器的逻辑
        return new String[]{"Finding Nemo", "Ice Age", "Toy Story"};
    }
}
